package com.example.wuyeguanli.entiy;

import java.math.BigDecimal;

/**
 * 房间实体类 (Room)
 */
public class Room {

    /**
     * 房间号 (主键)
     */
    private String roomNumber;

    /**
     * 业主电话 (外键, 关联Owner)
     */
    private String ownerPhone;

    /**
     * 水费余额
     */
    private BigDecimal waterBalance;

    /**
     * 电费余额
     */
    private BigDecimal electricityBalance;

    /**
     * 物业费余额
     */
    private BigDecimal propertyFeeBalance;

    // 构造函数
    public Room() {
    }

    public Room(String roomNumber, String ownerPhone, BigDecimal waterBalance, BigDecimal electricityBalance, BigDecimal propertyFeeBalance) {
        this.roomNumber = roomNumber;
        this.ownerPhone = ownerPhone;
        this.waterBalance = waterBalance;
        this.electricityBalance = electricityBalance;
        this.propertyFeeBalance = propertyFeeBalance;
    }

    // Getter and Setter
    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public String getOwnerPhone() {
        return ownerPhone;
    }

    public void setOwnerPhone(String ownerPhone) {
        this.ownerPhone = ownerPhone;
    }

    public BigDecimal getWaterBalance() {
        return waterBalance;
    }

    public void setWaterBalance(BigDecimal waterBalance) {
        this.waterBalance = waterBalance;
    }

    public BigDecimal getElectricityBalance() {
        return electricityBalance;
    }

    public void setElectricityBalance(BigDecimal electricityBalance) {
        this.electricityBalance = electricityBalance;
    }

    public BigDecimal getPropertyFeeBalance() {
        return propertyFeeBalance;
    }

    public void setPropertyFeeBalance(BigDecimal propertyFeeBalance) {
        this.propertyFeeBalance = propertyFeeBalance;
    }
}